<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../tpl/head.jsp"%>
<link rel="stylesheet" href="statics/css/SystemCenter/tpl/dictionarytpl.css">
<div class="layui-card-body">
    <div class="layui-row">
        <div class="layui-col-md12">
            <table class="layui-table" id="HScodeid" lay-filter="HScodetable"></table>
        </div>
    </div>
</div>
<div class="layui-row" id="fromeditor" style="display:none;">
    <div class="layui-col-md11 editor-form">
        <form class="layui-form layui-from-pane" action="" style="margin-top:20px" id="editor-form" lay-filter="editor-form">
            <div class="layui-form-item">
                <label class="layui-form-label">海关编码</label>
                <div class="layui-input-block">
                    <input type="text" name="code" lay-verify="required" autocomplete="off"
                           class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">报关名称</label>
                <div class="layui-input-block">
                    <input type="text" name="name" lay-verify="required" autocomplete="off"
                           class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">英文名称</label>
                <div class="layui-input-block">
                    <input type="text" name="englishname" lay-verify="required" autocomplete="off"
                           class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">数量单位</label>
                <div class="layui-input-block">
                    <input type="text" name="unitOfQuantity" lay-verify="required" autocomplete="off"
                           class="layui-input">
                    <%--<select name="unitOfQuantity" lay-filter="unit" lay-verify="required" lay-search>
                        <option value=""></option>
                        <option value="text6">text4</option>
                    </select>--%>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">是否商检</label>
                <div class="layui-input-block">
                    <input type="radio" name="isInspection" value="是" title="是" checked>
                    <input type="radio" name="isInspection" value="否" title="否" >
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">增值税率</label>
                <div class="layui-input-block">
                    <input type="text" name="vatRate" lay-verify="required" autocomplete="off"
                           class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">退税率</label>
                <div class="layui-input-block">
                    <input type="text" name="taxRate" lay-verify="required" autocomplete="off"
                           class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">进口关税</label>
                <div class="layui-input-block">
                    <input type="text" name="importTariff" lay-verify="required" autocomplete="off"
                           class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">消费税率</label>
                <div class="layui-input-block">
                    <input type="text" name="consumptionTaxRate" lay-verify="required" autocomplete="off"
                           class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">日期</label>
                <div class="layui-input-block layuidatas">
                    <input type="text" class="layui-input" id="sdate" lay-verify="required" name="startDate" placeholder="yyyy-MM-dd">&nbsp;-&nbsp;<input type="text" class="layui-input" id="edate" lay-verify="required" name="endDate" placeholder="yyyy-MM-dd">
                </div>
            </div>
            <%--<div class="layui-form-item">--%>
                <%--<label class="layui-form-label">终止日期</label>--%>
                <%--<div class="layui-input-block">--%>
                    <%----%>
                <%--</div>--%>
            <%--</div>--%>
            <div class="layui-form-item">
                <label class="layui-form-label">监管条件</label>
                <div class="layui-input-block">
                    <input type="text" name="regulatoryConditions" lay-verify="required" autocomplete="off"
                           class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">申报要素</label>
                <div class="layui-input-block">
                    <input type="text" name="declarationElements" lay-verify="required" autocomplete="off"
                           class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">描述</label>
                <div class="layui-input-block">
                    <textarea name="remark" placeholder="请输入内容" class="layui-textarea"></textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn  layui-btn-submit" lay-submit="" lay-filter="submitform" id="submitbutton">提交</button>
                </div>
            </div>
        </form>
    </div>
</div>
<script type="text/html" id="toolbarDemo">
    <button class="layui-btn layui-btn-sm" data-type="getCheckData" lay-event="newHScode">新增</button>
    <button class="layui-btn layui-btn-sm layui-btn-normal" lay-event="edit">编辑</button>
    <button class="layui-btn layui-btn-sm layui-btn-warm"  lay-event="deleteHScode">删除</button>
    <input class="text layui-input" type="text" name="names" id="names" autocomplete="off" placeholder="名称">
    <button class="layui-btn layui-btn-sm layui-btn-danger" lay-event="searchs"><i class="layui-icon layui-icon-search"></i>搜索</button>
</script>
<%@ include file="../../tpl/foot.jsp"%>
<script src="statics/js/SystemCenter/tpl/HScode.js"></script>